package com.tinycloud.miracll.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;

/**
 * 点位管理对象 product_product_point
 * 
 * @author tiny
 * @date 2021-08-25
 */
public class ProductPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 产线主键 */
    @Excel(name = "产线主键")
    private String productLineId;

    /** 点位名称 */
    @Excel(name = "点位名称")
    private String pointName;

    /** 点位代码 */
    @Excel(name = "点位代码")
    private String pointCode;

    /** 删除标识 */
    private String delFlag;

    /** 点位类型  1--下发点位   2--采集点位 */
    @Excel(name = "点位类型  1--下发点位   2--采集点位")
    private String typeFlag;

    //产线
    private ProductLine productLine;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProductLineId(String productLineId) 
    {
        this.productLineId = productLineId;
    }

    public String getProductLineId() 
    {
        return productLineId;
    }
    public void setPointName(String pointName) 
    {
        this.pointName = pointName;
    }

    public String getPointName() 
    {
        return pointName;
    }
    public void setPointCode(String pointCode) 
    {
        this.pointCode = pointCode;
    }

    public String getPointCode() 
    {
        return pointCode;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setTypeFlag(String typeFlag) 
    {
        this.typeFlag = typeFlag;
    }

    public String getTypeFlag() 
    {
        return typeFlag;
    }

    public ProductLine getProductLine() {
        return productLine;
    }

    public void setProductLine(ProductLine productLine) {
        this.productLine = productLine;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productLineId", getProductLineId())
            .append("pointName", getPointName())
            .append("pointCode", getPointCode())
            .append("delFlag", getDelFlag())
            .append("typeFlag", getTypeFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
